<?php
('Access-Control-Allow-Origin：*');
// include("../xsdb.class.php");
include("../config/mysql.php");
$db = new mysql();
$name = $_POST["name"];
$money = $_POST["money"];
$peopleName = $_POST["peopleName"];
$reason = $_POST["reason"];
$agree = $_POST["agree"];
$time = $_POST["time"];
$company_id = $_POST["company_id"];
$sql = "INSERT INTO output (name,money,peopleName,reason,agree,time,company_id) VALUES ('{$name}','{$money}','{$peopleName}','{$reason}','{$agree}','{$time}',{$company_id})";
echo $db->Query($sql);
$db->close();
